//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package org.yaukie.base.core.entity;

import java.io.Serializable;

public class XOnlineUser implements Serializable {
    private static final long serialVersionUID = 1L;
    private String tokenId;
    private String deptName;
    private String userName;
    private String ipaddr;
    private String loginLocation;
    private String browser;
    private String os;
    private String loginTime;

    public XOnlineUser() {
    }

    public String getTokenId() {
        return this.tokenId;
    }

    public String getDeptName() {
        return this.deptName;
    }

    public String getUserName() {
        return this.userName;
    }

    public String getIpaddr() {
        return this.ipaddr;
    }

    public String getLoginLocation() {
        return this.loginLocation;
    }

    public String getBrowser() {
        return this.browser;
    }

    public String getOs() {
        return this.os;
    }

    public String getLoginTime() {
        return this.loginTime;
    }

    public void setTokenId(final String tokenId) {
        this.tokenId = tokenId;
    }

    public void setDeptName(final String deptName) {
        this.deptName = deptName;
    }

    public void setUserName(final String userName) {
        this.userName = userName;
    }

    public void setIpaddr(final String ipaddr) {
        this.ipaddr = ipaddr;
    }

    public void setLoginLocation(final String loginLocation) {
        this.loginLocation = loginLocation;
    }

    public void setBrowser(final String browser) {
        this.browser = browser;
    }

    public void setOs(final String os) {
        this.os = os;
    }

    public void setLoginTime(final String loginTime) {
        this.loginTime = loginTime;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof XOnlineUser)) {
            return false;
        } else {
            XOnlineUser other = (XOnlineUser)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label107: {
                    Object this$tokenId = this.getTokenId();
                    Object other$tokenId = other.getTokenId();
                    if (this$tokenId == null) {
                        if (other$tokenId == null) {
                            break label107;
                        }
                    } else if (this$tokenId.equals(other$tokenId)) {
                        break label107;
                    }

                    return false;
                }

                Object this$deptName = this.getDeptName();
                Object other$deptName = other.getDeptName();
                if (this$deptName == null) {
                    if (other$deptName != null) {
                        return false;
                    }
                } else if (!this$deptName.equals(other$deptName)) {
                    return false;
                }

                Object this$userName = this.getUserName();
                Object other$userName = other.getUserName();
                if (this$userName == null) {
                    if (other$userName != null) {
                        return false;
                    }
                } else if (!this$userName.equals(other$userName)) {
                    return false;
                }

                label86: {
                    Object this$ipaddr = this.getIpaddr();
                    Object other$ipaddr = other.getIpaddr();
                    if (this$ipaddr == null) {
                        if (other$ipaddr == null) {
                            break label86;
                        }
                    } else if (this$ipaddr.equals(other$ipaddr)) {
                        break label86;
                    }

                    return false;
                }

                label79: {
                    Object this$loginLocation = this.getLoginLocation();
                    Object other$loginLocation = other.getLoginLocation();
                    if (this$loginLocation == null) {
                        if (other$loginLocation == null) {
                            break label79;
                        }
                    } else if (this$loginLocation.equals(other$loginLocation)) {
                        break label79;
                    }

                    return false;
                }

                label72: {
                    Object this$browser = this.getBrowser();
                    Object other$browser = other.getBrowser();
                    if (this$browser == null) {
                        if (other$browser == null) {
                            break label72;
                        }
                    } else if (this$browser.equals(other$browser)) {
                        break label72;
                    }

                    return false;
                }

                Object this$os = this.getOs();
                Object other$os = other.getOs();
                if (this$os == null) {
                    if (other$os != null) {
                        return false;
                    }
                } else if (!this$os.equals(other$os)) {
                    return false;
                }

                Object this$loginTime = this.getLoginTime();
                Object other$loginTime = other.getLoginTime();
                if (this$loginTime == null) {
                    if (other$loginTime != null) {
                        return false;
                    }
                } else if (!this$loginTime.equals(other$loginTime)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof XOnlineUser;
    }

    public int hashCode() {
        int result = 1;
        Object $tokenId = this.getTokenId();
        result = result * 59 + ($tokenId == null ? 43 : $tokenId.hashCode());
        Object $deptName = this.getDeptName();
        result = result * 59 + ($deptName == null ? 43 : $deptName.hashCode());
        Object $userName = this.getUserName();
        result = result * 59 + ($userName == null ? 43 : $userName.hashCode());
        Object $ipaddr = this.getIpaddr();
        result = result * 59 + ($ipaddr == null ? 43 : $ipaddr.hashCode());
        Object $loginLocation = this.getLoginLocation();
        result = result * 59 + ($loginLocation == null ? 43 : $loginLocation.hashCode());
        Object $browser = this.getBrowser();
        result = result * 59 + ($browser == null ? 43 : $browser.hashCode());
        Object $os = this.getOs();
        result = result * 59 + ($os == null ? 43 : $os.hashCode());
        Object $loginTime = this.getLoginTime();
        result = result * 59 + ($loginTime == null ? 43 : $loginTime.hashCode());
        return result;
    }

    public String toString() {
        return "XOnlineUser(tokenId=" + this.getTokenId() + ", deptName=" + this.getDeptName() + ", userName=" + this.getUserName() + ", ipaddr=" + this.getIpaddr() + ", loginLocation=" + this.getLoginLocation() + ", browser=" + this.getBrowser() + ", os=" + this.getOs() + ", loginTime=" + this.getLoginTime() + ")";
    }
}
